package com.atkid.boot.controller;

import com.atkid.boot.generator.ImageGenerator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/img")
public class ImageController {

	@Autowired
	ImageGenerator generator;

	// @PostMapping
	// public void generateImage(@RequestParam String name, @RequestParam String deptName,
	// 		@RequestParam String clubName,@RequestParam String id, HttpServletResponse response) {
	//
	// 	generator.generateImage(name, deptName, clubName,id, response);
	// }
}
